[Bug 1066566] Fix inspector's "Open File" functionality