Fix resource relative paths.