Don't include extension in bucket path

Closes #239