message: fix(image-stream): destroy unused image streams
  When fetching metadata, a stream is opened, but never consumed.
  This destroys the stream when retrieving metadata to avoid
  dangling open file descriptors and such.
  Change-Type: patch
  Changelog-Entry: Fix unmounting freezing in macOS.
  Fixes:
diff: @@ -108,6 +108,11 @@ exports.getFromFilePath = (file) => {
  */
  exports.getImageMetadata = (file) => {
  return exports.getFromFilePath(file).then((image) => {
  +
  + // Since we're not consuming this stream,
  + // destroy() it, to avoid dangling open file descriptors etc.
  + image.stream.destroy();
  +
  return _.omitBy(image, isStream);
  });
  };
  