Closing stdin too early.
Close the named temporary file.