Moving toward platform independent internal path representaion

As we discussing in #1929 here is the experimental first step where `ResourceManager` is the most affected component. Further refactoring is necessary for all of the paths operations in the app.