Add different file pickling modes