Update file actions for newly created files

The commit d53b603b8259e9c9fe498b4bd50b4dbedc0bf01b for the backport
didn't contain code for the case where new files were created.
This is because that code already existed in OC6 as part of another fix.

This fix adds the missing call to update the file actions for newly
created files.