Add mapping for dng extension.
Merge pull request #282 from adam-vessey/7.x

Add mapping for dng extension.
Prevent a recursion loop early.
Merge pull request #283 from adam-vessey/7.x

Prevent a recursion loop early.