Ensure directory resources do not use extension when normalizing path