Fix for TC-2561

Typo fix for https://jira.appcelerator.org/browse/TC-2561 causing `db_name` not to work when using `db_file` as well.