09: fixed foo writing by switching to plain memcpy
09: removed unneeded newline in foo_read()