change pickle protocol to not get unicoding errors?