Fix upload field export

Make sure that the function does what it says: If I use the export mode `getFilename`, it should return the file's name and not its path. If the file path is needed, a different mode is needed.

This is important for fields like SBL using the export to fetch the related field's values.