When os.linesep isn't available, just use '\n'

Test Plan:
Loaded the KA homepage successfully under GAE 1.7.5.

Auditors: csilvers