avoid conversion of strWalletfile to c-string