Fix bash for py3 too.