Saving found relations to a file.

* Using BOOST serialization in order to support interrupted computation.