Revert "my_shlex python3 compatibility fixes"

This reverts commit abb66f3a823df75774a442d4e31c513f1a407250.
my_shlex python3 compatibility fixes, try 2