Fix on file rights suggested by jweathersby@mozilla.com

which finally makes shallow_flash.sh fully working on Cygwin as well, great... Tested twice.
TODO added, merging can continue...