Fixes and Improvements

- Using Django's built-in ContentFile to write string to a file object.
- Using a different method to check if blob exists.
- Fixed size function.