Unicode for db_store and fix for rounding errors

fixes #265