CLI: make restore of int->pid maps use mmap writing instead of seek
leading to significant performance improvements