Fixed CPU/GPU/SPU editors not saving on Linux.

Fixes #508 by applying the same changes from #331's fix into the CPU, GPU, and SPU editors.