Fix check for already downloaded resources file.