make hex encode & decode part of multipart saving & loading functions (thanks @hodgestar)