Title Fix iOSFS "failed to write new FST" by implementing atomic FST write and robust permission handling

Long-term fixes and recommendations for developers

The error IOSFS failed to write new FST appears when the Dolphin Emulator attempts to emulate the Wii's internal filesystem (IOS / IOSFS) but cannot successfully update the ile S ystem T able (FST).