Fix on file rights suggested by jweathersby@mozilla.com

which finally makes shallow_flash.sh fully working on Cygwin as well, great... Tested twice.
Can we add a TODO tag so we will find them easlier?