Use shell=True on Windows.

Otherwise PATH is not searched and external linter can't be found.
Feed file path to the cpplint, not just a string.

CppLint relies on finding the corresponding header file in the same
directory for some checks. Feeding the string breaks the feature and
is most likely less efficient.
Fix responsive problems caused by linting all files on start.