don't crash when dot util is not installed

set OPT.dot to False if dot is not installed, rather than having
latter code throw exceptions because the attribute doesn't exist
Support '-o' option with text format

print text stackdumps to the specified file descriptor instead of
always sending them to stdout