Write binary file

Currently this is dummy data.