Oops, yes, I totally missed out that the write error actually came from the *file requester* and not from Hollywood. Then of course it is clearly an error in your code. It works under AmigaOS because the Amiga requester allows specification of a non-existent file. The Windows requester however doesn't. So you have to make sure that you use save mode

Thanks to amigaoneproductions for pointing this out!