Ensure editor actually gets a filename to work with.
Merge pull request #18 from christophebiocca/fix-edit

Ensure editor actually gets a filename to work with.