Re-implement for all non-regular files.

Fixes #1.
Shorter comment.
Assume regular file for files that don’t exist.
Bump version.