Update commands.py

Added headers to avoid access control problems when used as a local replacement for S3
Merge pull request #1 from jamiol/master

Update commands.py