Ensure cropped matchimg is written to output filename.