Add PyCharm dir to ignore list
Monitoring file path instead of file descriptor
Add support for Python 3 (backward compatibility)