add standard file mode param, add content_encoding

This PR adds:

1) Standard python file mode param, and doesn't try to create bucket by default (also non-standard file behavior)

2) Adds content_encoding param to handle compressed or otherwise encoded files.