Windows compatibility changes

Made plugin work on Windows by:
1. Replace all backslashes ('\') with forward slashes ('/') in paths
2. Use double quote instead of single quote around filename in python
commandline when on Windows.
Path conversion function

Refactoring: Moved path conversion into a function
add message