Make sure target buffer for readlink is large enough and gets NULL-terminated