Adding CR to end of file