Also write cache file when building.
Fixed incorrect fallback manifest.