Draft: fix remounting files from threads and processes, fix pycompare accordingly See merge request giacomo.mulas/np_tmcode!34