bugfix for s3 objects with spaces in them, etc