Tool to create a TSQL script from a SQL Server 2008 trace file
You could use ClearTrace by Bill Graziano (free) which cleans up trace queries and allows you to sort/filter the trace files and still have a readable tsql from the trace. 

Courtesy reference of Brent Ozar's presentation on "Using Perfmon and Profiler" at SQL Bits 2010