Clean up isUnix function and force standard disk access on Windows