Update commands.py

Added headers to avoid access control problems when used as a local replacement for S3