Try this:
file_wo_ext = "MyCsvFile." && The last point is important
file_w_ext = "MyCsvFile.CSV"
RENAME (file_wo_ext) TO (file_w_ext)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.