Fix creating empty 'directory' on S3 when not specifying a path
Merge pull request #155 from MaxGabriel/fixEmptyDirectory

Fix creating empty 'directory' on S3 when not specifying a path