improve utils-mac.h so we don't add guards for it each time
Merge pull request #325 from haiwen/improve_utils_mac

improve utils-mac.h so we don't add guard for it each time
download file from unsync encrypted repos