fix the breakage in close_fd_get_file() calling conventions change