Use file.addToWorkingSet instead of file.open

Fixes adobe/brackets#3355

Use `addToWorkingSet()` instead of `open()` when opening files from the shell.