Fixed invalid filepath when removing pid files.