replace ERROR_OUT macro with ERR_REPORT, which is a little less ugly. also, add error reporting to detect_disk on OS X