Fixed possibility of diagnostic info upload failing if one of the local logfiles was empty.