Allow database backup files with multiple `.` instances

Rather than grabbing everything before the first ., pull before
the .sql.

Fixes #403
Merge pull request #501 from Varying-Vagrant-Vagrants/403-db-names

[PR] Allow database backup files with multiple `.` instances