fix canCompile in readdirFilter in bin/6to5 util