Fixed database dump name

The database dump was saved using database name. But, the dump_download and dump_upload tasks used application name and env name to find the dump. Obviously, it was working only if the database is named using common conventions: 'app_name_environment'. But in some projects there are more meaningful names for dbs, so we need to parse them directly from config.