Refactored GCSFolder: -writeContent and fixed sogo-tool restore