Prepared tensor_mmapper (still untested)
Prepared tensor_mmapper for windows (still untested)