Fixed a bug in the code to create a dwarf file and directory table entires when