my_shlex python3 compatibility fixes