Reset executable attribute as not supported Cygwin
Fixed local file access in adb push
Fixed handling of spaces in paths
fixed bug in matching files not dirs
Restored start of string to regex
Merge pull request #276 from SteveALee/bug1069468

Bug1069468 fixed several problems with shallow_flash on on Cygwin