Add download fail and bin file existence check.