Tabs -> Space and \r -> \n

Changes the output format slightly as previous output format had trouble being parsed.