Changed validity check of download dir preference to be more reliable;