CFY-1511 append new line at the end of a file