irminsule: add a persistent binary stream writer

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
irminsule: rename PBinStream to PBinReader

Signed-off-by: David Scott <dave.scott@eu.citrix.com>