make sure a newline is a added to the end of the html file