Fixed issue where we'd open a file as if it was an external file when it was actually a file in the workspace or inside a source folder.