Fix bug when importing abook for instances with no name
Use io.open to open files as utf-8

So we then pass unicode strings to the sqlite3 function