nc_num_subfiles is updated in enddef(), so subfile_close() should be called after enddef()

git-svn-id: https://svn.mcs.anl.gov/repos/parallel-netcdf/trunk@1627 c368ceb8-fd28-0410-a457-e46ee1d7cd4a