Refactor the coding style of TraceFile

 - Delete useless interfaces
 - Use the report_fatal_error instead of abort()
 - Rename the variables according to LLVM style
 - Spaces and indent style
 - etc