Added a replacement for closefrom (available on *BSD).