Optimize package encoding/decoding a bit by reusing codec handle.
Implementation of Rename method for S3 PublishedStorage. #15