[#1816] move printf to rodsLog and consider status as an error if it is not S3StatusOK