Upgrade resin-image-write to v4.0.1 (#377)
Upgrade resin-image-write to v4.0.1 (#377)

This new version contains a fix to align unaligned images and prevent
`EINVAL` errors.

Fixes: https://github.com/resin-io/etcher/issues/348
Signed-off-by: Juan Cruz Viotti <8493db2a4f45d66df375afe12f7eba59fe1c8d78@gmail.com>
resin-io/etcher,resin-io/resin-etcher,cedricve/etcher,resin-io/resin-etcher,resin-io/herostratus,resin-io/etcher,cedricve/etcher,cedricve/etcher,resin-io/etcher,resin-io/etcher,resin-io/herostratus,resin-io/etcher