Serializes the message to a file.
public func saveToFile(filename: String) throws -> Void
Use this method to assemble the message and save it to a file.