Fix local for runtime to avoid problem with file names containing special characters.