deal with scanning bad ASCII data

Fix scandevtable.py to deal with bad ASCII data.  Fixes #6