Note: At the moment tempStore will only use gridfs if no filesystem is installed
Temporary workaround: We currently we generate a mongoId if gridFS is used for TempStore