Properly escape some command line arguments