Fix detection of some compound file extensions. See PR #19.