def METHOD_NAME(message):
    """Writes a message to stderr"""
    strings = [s for s in message.split("\n") if s]
    for string in strings:
        sys.stderr.write("navpgdump: " + string + "\n")
    sys.stderr.flush()