Close file output (possible error)