python escape ascii characters