Fix pgalias bug where files have the same root but different extensions.
Merge pull request #32 from jwj61/develop

Fix pgalias bug where files have the same root but different extensions.