C++ standalone: write binary files only