Fix wrong fwrite arguments order in example