[ros-diffs] [janderwald] 28884: - delete pidfile if it exists before launching emulator - delete pidfile on exit - close pidfile on failure