Fix File::rfind() for small files.

Fixes #482.