Fix and enable file tests in child processes.