don't enable coffee-cos mode if buffer filename is nil

Hi!
This PR fixes `magit-ediff` fail (by pressing `e` on a `.coffee`-file in `magit-status`):
 `buffer-file-name` returns `nil` and `file-exists-p` fails.