download-preprocess-wiki: Fix bug in convert step
Add discrete permute preprocessing step, clean up scripts and docs