BLAM add-on does not work with Blender 2.79
Thanks everyone for the help. Apparently it was not BLAM which had the problem. The problem was with the version of Blender 2.79 that I was using. Apparently it had a lot of bugs that I would keep run into which the previous versions did not have. I downloaded the recent Blender 2.79a (release candidate) which worked for me.