Fix load and save commands for Python 3