Avoid monkey patching shlex globally (fixes test broken by 49c2bbb)