Copy /proc/<pid>/maps file to temporary directory