Darwin - Use EVT_ONLY flag on open file.
Update tests to be similar to changes made for go.exp
Fix a couple tests
No "chmod" executable on Windows.