Fixed warnings with "<<" operator when loading

I was getting these warnings:

DeprecationWarning: Operator '<<' is deprecated, use '<<=' instead

Changing them to <<= seems to have fixed the problem.