Merge "Add ReadFully and WriteFully to libbase."