pub fn write(path: &Path, app: &CompiledApp) -> Result<(), ArtifactError>
Write an artifact to path.
path