[hash_file](https://www.php.net/manual/en/function.hash-file.php) can return `string` or `false`. It would be nice if we had a safer version of this function which would throw an exception if it returned `false`.