Export: Append \n to EOF is not already present

Alternative solution to https://github.com/nickstenning/honcho/pull/107