Added sanitize function to prevent spaces in package zips.