Fix routesFile path to always resolve to appDir if relative