send debug message to sys.stderr instead of stdout