server: fix createFile command