Bugfix for invalid folder names with Rspec

Resolves #84