Use PID in test filenames

This helps us to run multiple tests in parallel (e.g. with different
perl versions).