Fixed bug that set resolved -referencing_dir path in the wrong platform-format.
Implemented 'calling frame id' protocol for referencing dirs.