I C.
Maybe this does help you out:
https://vborg.vbsupport.ru/showthread.php?t=61507
Another way (although I would not recommend that) would be to disable the client javascript that sends hashed passwords when registering. This way you will have a plaintext password at registration time (although it will not make it into the database). Catch it at this point to create your users file.