Fix snapshot filename for solver states

Save model weights as .caffemodel, solver state as .solverstate. #917 introduced the `.caffemodel` extension but accidentally appended it to the `.solverstate` snapshots too.