prevent division of zero in FileRead::getRawInfo