Use new PFBParser to read PFB files so they are properly decoded. Use org.apache.fop.tools.IOUtil for simpler code.