Extended getpib to work with old and new pibfile formats.
Extend getpib to support old and new NVM file formats.
Another fix for Issue #18.