improved conversion to fax-compatible format