minor fix to check if downloaded file is valid (ie size > 10)