Move exe functions back to os/fs.c