Seems like the old 0.8.6 version does not have a
dumpwallet command on the console. So, as far as I can tell, the only way to do it would be using the
dumpprivkey command, one address at a time
I guess that this is one of the reasons why scripts like PyWallet were originally created, so you could simply dump the whole wallet at once.