Added support for telling the difference between .hi and .nv files. Also fixes the bugs around nvram files getting processed incorrectly