Fixing AWS S3 `listContents()` not returning directories if fake on haven't been created

AWS S3 `listContents()` haven't returned directories if "fake" directory haven't been created previously (an empty file uploaded with trailing slash in the key). Fixed in pull request.