Fix put of object with spaces in fails

Patch from: https://bugs.launchpad.net/goamz/+bug/1087338/