Send a Python file object along a Unix domain socket