Address issue #76 - Error in checking error on fclose