Fix a bug in snf-image-update-helper

If the helper download command failed, the partially downloaded file
was not cleaned up.
Workaround a cURL bug that triggers SIGPIPE

Ignore SIGPIPE errors in curl to workaround a known bug. Use md5sum to
check the integrity of the downloaded file.

This Fixes #55