dest in s3 module does not work with ~username notation for home directories.  Wrapped dest definition in os.path.expanduser() which will return the expanded path in case of successful tilde expansion and otherwise the original value
Merge pull request #4165 from jerm/devel

dest in s3 module does not work with ~username expansion for home directories