pub fn to_msgpack_file<T, P>(value: &T, path: P) -> Result<()>where T: ?Sized + Serialize, P: AsRef<Path>,
Converts the value to a MessagePack bytes and writes it to the speficied file.