set --script …
This allows doing what the GUI renaming utilitiy does on the command-line. If only renaming is wanted
mediafileinfoobject.cpp
scriptapi.cpp
The file contains various wrapper "objects" so it makes sense to use a more generic name.