fixed a bug if the current view doesn't have a
hasn't been saved, and doesn't have a file path
Merge pull request #6 from benwiklund/master

Fixed a bug if the current view hasn't been saved yet