Revise 'sqlite3:' URL handling for smoother upgrades

@rafaelfranca as discussed. I think. :smile: