I wasn't able to find the answer to your question in the official Deno documentation. However, based on the information you've provided, there are a few things to consider:
When you compile a Deno script into a standalone binary, the permissions need to be explicitly set at compile time. Make sure you've included the flag when compiling your script to ensure the binary has permission to write files.
The current working directory for a compiled Deno binary might be different from what you expect. It's possible that the file is being created, but not in the location you're looking. You can use in your script to check the current working directory.
Ensure that the path where you're trying to write the file exists and that the user running the binary has the necessary permissions to write to that directory.
Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of the advice given. If the issue persists, you might want to consider reaching out to the Deno community for further assistance.