Refactored backtrace formatting code.