Fix bug in edit regarding file names with path but no suffix

I've tried to figure out the role of `Edit#probably_a_file?` and came up with the spec example you see.