(#9983) Checksum file in binary mode when storing to filebucket
Previously, the 'store' action for the 'file' face read content in
text mode, resulting in incorrect checksums and corrupt binaries on
Windows.
This commit changes it to use binary mode, which is a noop on Unix.