* check that the target of `which` is a file: fixes #235
* ann