Bug 726430 - Python: account.getName() raises TypeError

This particular commit fixes the new_book_with_opening_balances.py example script.