Check if the WholeFile flag should be set for leaf nodes in filestore.Put.
Check if the WholeFile flag should be set for leaf nodes in filestore.Put.

If the dataObj.Offset is zero and the WholeFile flag is not set, check
if it should be.  That is check if the file size is the same as
dataObj.Size, and if it is, set dataObj.WholeFile.

License: MIT
Signed-off-by: Kevin Atkinson <13fbd79c3d390e5d6585a21e11ff5ec1970cff0c@kevina.org>

ipfs-filestore/go-ipfs,ipfs-filestore/go-ipfs,ipfs-filestore/go-ipfs