I just tried creating a new folder called this/is/a/test, and the URLs to files within it have this-is-a-test in them instead, which is another way to fix the problem. So the issue is with existing folders then, not new ones. I can handle that. :)