set chmod flag by default on Windows