log failed file_close calls