don't leave broken $(PKG_FILE) on a error

so that next time this tries to fetch it again.
Merge branch 'wget-error' of git://github.com/yamt/erlang.mk
Don't leave broken $(RELX) on error either

This will do until we stop using wget.