Fix some wrong paths to templates (committed in r864).