get the real physical folder name for anonymous upload

fixes #3936 

@butonic @MTGap @icewind1991 @schiesbn @karlitschek THX

EE relevant - backport necessary