Fixed a typo in closeFile

Rsrv.CMD_writeFile added, Rsrv.CMD_closeFile expected.