S3 storage driver for next gen modifications

This still needs some more minor debugging.
What happens if `rootDirectory` ends in a slash?