Update FileOperations.cpp

Updated createFile and RenameFile