Remove annoying slash from paths