renaming pid_file to end with .pid