Implemntation file receiving function.
Implement file send functionality.
Remove the use of exceptions.
API name changes in corresponding to toxcore.