Always use `shlex.split` when dealing with command line arguments.

https://docs.python.org/2/library/shlex.html#shlex.split