adapt .dot files to mac os