Note: this problem with wavefront export has been fixed as of Blender 2.49.
There is a bug in the script supplied with Blender which allows Wavefront
.obj export. There's been a deafening silence after submitting this to the Blender bugtracker almost a year ago, so I'm now taking matters into my own hands by re-posting it here. The patch below applies on the script file