using pickle to dump python object in a file