+x perm to .sh, .bat using \r\n