Implement readlink

Fixes #111