using hex for temp files to preserve IO and storage