Change extension to .dot