Generate sha256sum in the correct format

Rather than going to the effort of stripping the filename, generate
it in the default format such that it can be checked with
sha256sum -c.