pub fn write_lib(lib: &LIB, file: &mut File) -> Result<()>
Writes a Psy-Q LIB. If the file cannot be written an error will be returned.