Bf Cloudfiles update

Fixes shutdown, and removes the temporary serializer, replacing with the correct one.

Fixes an issue in the serializer where it was missing a toBytes method and it was throwing an IOError where it should have been throwing IOException