Changed output to stderr,
dot file is writen to stdout