Propagate errors in UserFile::flush() to UserFile::close() to f_put_file_contents()