CLI was incorrectly reporting wallet as being closed because path string to wallet file wasn't set to correct state in create_file. Code is still a bit strange, as we leave the wallet open at end of create_file and then call wallet::open.