io error while storing data in pickle,"output = open('/home/user/test/wsservice/data.pkl', 'wb')"