- Turned readlink_stat() into a static function.