Fixed generate_rail_pnt_files()