Propagate failure of MD5 correctly. Closes #184.