cli: cast timeval fields to long for format