t6013: replace use of 'tac' with equivalent Perl