file: Rename __close_fd to close_fd and remove the files parameter