[boost] filesystem: wrong close 0 descriptor in copy_file_api on unix