fix command line escaping for arguments containing spaces