`Container::save($name, $fp)` does not work as expected if the file pointer is not rewindable.
Container::save($name, $fp)does not work as expected if the file pointer is not rewindable.