print message when using pickle