Tag each emulated file with replayer PID to avoid collisions.

Resolves #1099.