Fix issue with globbed files not being output correctly.