Incorporate improvements for finding a plugin's main file in makepot.php. Fixes #6