Fixed convert ascii escape characters to tri-graphs when writing out PDF names.