Replaced boost.serialization with raw binary file

Boost.Serialization works great, but is too dependent on boost version.