Bug Fix Issue #57

In PHP 5.3.6 and older, DirectoryIterator::getExtension() is broken. Replaced with pathinfo()