Fix subprocessy crapness on Python 2.6 & the fact that RH puts locales in different cases and with extra dashes.