pub fn write_spool(bytes: &[u8], kind: &str) -> Result<PathBuf>
Write bytes to a new spool file; returns absolute path.
bytes