Update package_resources.py

Path fix for windows
Merge github.com:facelessuser/EditPreferences