Add a hashStream method to lib/hash that does the same as hashFile only with a stream instead of a file path and implement tests for both of these methods.