write isn't working, but is returning a file descriptor:
server gets proper fd but not the file
Added more debug info
it was a flag issue
adds flag to make sure you dont append