NFS-11 handle use append_if_no_line if file is empty

closes #11