Fixes #7032 - db backup tasks accept destination file

This is meant to facilitate https://github.com/theforeman/theforeman.org/pull/245
`unless backup_name.end_with? '.sqlite'` perhaps?  (and below, with .sql)