Tinebase_Export - introduce definition templateFileId, add vfs access check