fix the EPIPE error in the restarted PAMM on OSX/Linux

default stdio for child processes is 'pipe', which are closed after the
parent process exit
fix "installed mods" loading error when modinfo.json is missing
flag as 0.7.1