There may be an easier way, but this one does work.
Look at the low-level file functions.
FCREATE('C:\TEST.TXT')
will create a file in all upppercase.
So you will probably need to create a routine that reads the file's contents. FCREATE a new file and update the contents.