Added the ability to configure the `basePath` for where the files are written.

Nice module for quick S3 testing. But I want to write the files to a tmp directory!