try except around pickle load