[PATCH 3/3] server: Hold a reference to the file in delete_file().