Sanitise .dot files