Added better error handling to the Python client; now collect the returned file size from the server's call to readfile().