* calculate gentry sha2 after reading content to tmpfile
* move tmpfile into sha2 content path only when done