* Add regression test for infinite loop issue in Util::step_through_extensions (#1889) * Prevent infinite loop when encountering files where base filename is a possible templating engine