escape double quote in payload before write it to stdin