Avoid overwriting allocated pid_file