Originally created by @sajolida on #17498 (Redmine)
Works from Windows and macOS:
https://gitlab.com/bztsrc/usbimager