fix file separator for protected resources

this will fix a path error under Windows OS for protected resources
Merge pull request #6 from simoneloru/master

Thank you Simone!