Removing messy characters messed up additional directories created after conversion.

Slashes ("/") were treated as bad characters and thus creating subfolders was a mess.