Add code to check for symlinks in upload