Fix on file rights suggested by jweathersby@mozilla.com which finally makes is fully working on Cygwin as well