I have error both exporting Andrew's example (plus libzimg) and exporting only libzimg. I attach cin5.log.
Anyway using zscale was just my curiosity, it's useless to waste your time....