escape an argument for pedit