Getting some strange segfaults and memory allocation errors. I'm too tired to hunt them down now. Also received files are always a bit larger than the originals. That worries me a bit, where are the extra bits coming from? They should match perfectly.