RTF savefile doesn't save RTF/HTML

Hello,
I'm writing a simple RTF editor and I'm having problem saving a RTF/HTML file from that RTF control. When the interpreter executes this line
self.rtf.SaveFile("temp.rtf")
I get a nice error message telling me "Couldn't save the file". I'm using Wxpython 2.87 (well the last one...) on python2.5, my application is written with BoaConstructor (winxp).
(everything work if i change temp.rtf to temp.txt, it doesn't work with temp.html...)

I'm having also another problem, fast textctrl change with TAB doesn't work, I get just an horrible noise of error when i type that.

Advanced thanks for any help,
Luca