Looks mostly OK. FWIW, what's the use case for this? Opening a non-existing file is already possible, which is mostly the same but with the benefit of having filename an possibly filetype already selected. I fail to see when it's interesting to control Geany remotely for it to create a new buffer yet not knowing the destination filetype.