Fix double fclose of fp1 when freopen fails
freopen handles closing file descriptors on error, with the exception of
fdopen'ed descriptors, so closing an already fclose'd file descriptor is
incorrect
CID: 1338525
Reported by: Coverity
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division