Fix a bug whereby the wrong file extension may be used, when multiple suffixes are specified in the `source_suffix` configuration. Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>