MBR partition writeContents() was not checking against the number of bytes in the partition when checking size. Replicated logic from readContents().
MBR partition writeContents() was not checking against the number of bytes in the partition when checking size. Replicated logic from readContents().

diskfs/go-diskfs