Minor fix in extension string used in io::loadPolygonFile.

The extension does not include the stop so the strings used for comparison should not either.

The problem arises in the simulation examples (e.g. pcl_sim_terminal_demo).