Added method to save file with the specified contents.
Bug fix in deserialization of BackendlessCollection (totalObjects property was omitted).