Added a verification to add append EOF delimiter on writing mode.
Merge branch 'tck_fix'