Fix #359: handle compile:file/2 errors correctly
Fix #359: handle compile:file/2 errors correctly

Should compile:file/2 fail, log all errors.

sebgod/yaws,klacke/yaws,klacke/yaws,leoliu/yaws,klacke/yaws,phonohawk/yaws,leoliu/yaws,sebgod/yaws,leoliu/yaws,klacke/yaws,sebgod/yaws,phonohawk/yaws,phonohawk/yaws,klacke/yaws,sebgod/yaws,klacke/yaws,phonohawk/yaws,leoliu/yaws,phonohawk/yaws,leoliu/yaws,sebgod/yaws,klacke/yaws,leoliu/yaws,sebgod/yaws,phonohawk/yaws,sebgod/yaws,phonohawk/yaws,leoliu/yaws