Header.sizeof_bitmap returns a length in bytes

Be careful when converting into sectors.

This fixes the failing unit test.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
test: Try reading and writing a set of edge cases

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