Thank you HCP.
It was a real pain, but thanks to your scripts I was able to recover a fraction of a BTC that was sent to my Mutlibit 0.5.18 installation. And I couldn't access the wallet file anymore due to the error message
Firstly, you're welcome...
secondly, So you weren't able to get all of the coins from your wallet?

I'm wondering if maybe my script is not finding all the UTXO's that it should... I am fairly sure it will only find "confirmed" coins... so if you had an inbound transaction that was unconfirmed, it won't have found any coins in that address and would not have put out the private key...
Let me know, and I can probably create a script that will just dump ALL the keys from the wallet... I should probably do that just to be safe I guess...

No, the script worked well! The output of your script were about 8 keys, only the last key contained the address where the fraction of the BTC (0.07 BTC) were sent to about 2 weeks ago. So the whole "exercise" was just about recovering the whole 0.07 BTC ("a fraction of a BTC"), where I finally succeeded.
And next time I use the command line I know how to copy-paste text from it, thank you very much
HI-TEC99!