Moved exe functions back to os/fs.c