Fix issue with downloadDir