Allow size to be nil if there is no content

This matches the API of ActiveFedora 7.