@staticmethod
def write_file(data, path):
    """
        Save the output data to the file system at the specified path.

        :param data: a byte string of data to write to disk
        :param path: the path to write the file to
        """
    with open(path, 'wb+') as out_file:
        out_file.write(data)
