Updated read/write functions to handle Sphere Online file-like input.
Tests: 'reader' tests are working. Deleted 'writer' tests.