Shortcut for writing specifically a DataMessage.

def write_data(self, command, data, timeout=None):
    """Shortcut for writing specifically a DataMessage."""
    self.write_message(FilesyncMessageTypes.DataMessage(command, data), timeout)