Move posix only code to a separate file.