close file handles after upload to geoserver

prevents WindowsError when trying to unlink