Add logic to invalidate cached file due to transform error.