pub fn write_schema_file() -> Result<PathBuf>
Write the canonical PBSL schema into the config directory and return its path.