Fix RAW and LONG RAW export to ByteA. Thanks to Prabhat Tripathi for the report.