Fix bad array indexing bug in resolvefd
Remove unimplementation of O_APPEND in emu filesystem