File Handling - Writing in binary mode - fwrite function