fix file separator for protected resources

this will fix a path error under Windows OS for protected resources