Patch "perf tools: Fix copyfile_offset update of output offset" has been added to the 4.14-stable tree