fix trailing newline in metadata ocf