Fix database extension on iOS

In Android the database is created with .db extension but in iOS the
database is being created without the extension, this can cause problems
with cross platform javascript.

Be aware that the pull request of facine https://github.com/brodysoft/Cordova-SQLitePlugin/pull/62 would have to be updated or the bug will be reintroduced.