Ensure editor actually gets a filename to work with.