Just save and read it in binary mode?