DRY in pwdump importer