HTTPResponse is not guaranteed to have mode

Please see https://github.com/crosspop/sqlalchemy-imageattach/issues/25 for details.

This seems to work for me.

Some relevant info on the topic of `HTTPResponse` and its *file likeiness*:
http://bugs.python.org/issue19154