Fix export of account balances, close #139.