added binary flag to read shapefiles in windows

Shapefiles were not being written to the geoserver temp directory on upload, crashing the rest of the import process.