fixes for if user does not specifies the optional 'directory' attribute in 'S3.config' object
Merge pull request #14 from ajduke/master

fixes for if user does not specifies the optional 'directory' attribute ...