Make read_pid more robust

Some dat1.txt files do not have PID as the first line
Fix encoding of meta files

All zooprocess files are Latin-1, we want Unicode