support dm2john format (used by JtR)