Upgrade some deprecated paths.