Restore file uri

I made a new version of db_backup that is able to restore from a file:// uri (to be consistent with restoring from an s3:// uri)

Also, removing duplicated logic for complaining if the restore location exists or not.