Rather than one big file with (eventually) all implementations for each OS, let's keep OS-specific implementations in their own files.