pub fn serialize_to_file<P: AsRef<Path>>( p: P, module: Module ) -> Result<(), Error>
Serialize module to the file