removed subprocess.check_output

Didn't work on windows.