Windoze shared files often have execute permission even when they aren't really executable. These files really need to run a program based on the file name.
This patch causes the execute bit to be evaluated after
the file name when determining mime type and what to run on open so that files on windoze shares open correctly.
None
Done, plus fixed a couple of places in the code which
still used the old flag...