move print function in to moz_aws lib