Fixed error when decoding a symlink.