Remove version number from path names