`stderr.write` may fail, e.g., if no tty is connected, which may happen in some CI configurations. Discard such failures and continue quitting instead of raising the error.
* Fix MAX_PATH limitation in tests. * Fix posix issues. * Fix compilation issue.