fix bug in sacpickle.py for sacio

write sac files from pkl object