Moving TemporaryS3 to core