Fix zero-length writes on zero-length non-resident attributes to not throw an exception.
Fix zero-length writes on zero-length non-resident attributes to not throw an exception.

breezechen/DiscUtils,breezechen/DiscUtils,quamotion/discutils,drebrez/DiscUtils