Close file descriptors after truncating files to the desired size