More robust shlexing.