Revert API changes introduced by "Use IResourceProxy for folder script
path."

This partially reverts commit af7745584f5b927a369a0da8cf65ad8af9219a11.
Merge pull request #179 from piotrtomiak/master

Revert API changes introduced by "Use IResourceProxy for folder script path."