Support strftime specifiers in dumpwallet filename.
Example:
bitcoin-cli -regtest dumpwallet "/tmp/wallet_%Y%m%d_%H%M%S.bak"
{
"filename": "/tmp/wallet_20181206_155742.bak"
}
See http://www.cplusplus.com/reference/ctime/strftime/.
Follow up of #9937.