SyncEngine: Keep csync_journal with proper values for fileId and remotePerm

Before this patch, we had a lot of empty rows because we created
the SyncFileItems with the wrong(=local) data.