BUG FIX: Changes to text encoding when creating SQLite database.