Fix problems with streaming uploads for Atmos storage driver

This pull request contains two patches, addressing the following JIRA issues:

Atmos storage driver loses content type during streaming upload
https://issues.apache.org/jira/browse/LIBCLOUD-232

Atmos storage driver doesn't correctly encode path names
https://issues.apache.org/jira/browse/LIBCLOUD-233