Fixed karan/atom-terminal#4: Use editor.buffer.file to find current file

As suggested by @bagong, I changed the line 
```coffee
filepath = atom.workspaceView.find('.tree-view .selected')?.view()?.getPath?()
```
to fix ctrl-shit-t on Mac.