fileexists: if project is 0, search file in /files, not in files/0 folde...

not sure that solves the problem on upgrade, but it solves the original bug 1467:

files without project were searched in files/0/, but stored to files/

!!! This must be consistent with the storage location of older versions!!

Klaus