normalizing path seperators in expandMap