[python] What's the bad magic number error?