uses deep cloning to ensure that options.headers is not shared between successive calls to exports.put
added semicolon after function decl
Merge pull request #39 from davb/fix_shared_headers_option

deep-cloning `options.headers` fixes incorrect Content-Type for uploads