download(): remove empty file on failed download