Adds `ready` to FileDownloader and includes `await ready` in `trackTasks` call to ensure database is ready before attempting to use it.