Fixes path parsing for upgraded fs