Fix Windows symlinks

This sets file size for symlinks to length of path pointed, like is expected in calls to `p_readlink`.

Fixes #1235 and probably #1314.