Close the file.
Files opened with FileMode::Temporary are deleted after closing by this method.
FileMode::Temporary