correctly check for errors from read_casn_num() when checking manifest versions and numbers
correctly check for errors from read_casn_num() when checking manifest versions and numbers

rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir,rhansen/rpstir