Based on this comment and the referenced documentation, Pickle 4.0+ from Python 3.4+ should be able to pickle byte objects larger than 4 GB.
However, using python 3
You can specify the protocol for the dump. If you do pickle.dump(obj,file,protocol=4) it should work.
pickle.dump(obj,file,protocol=4)