My host runs out of memory (timeout), so I am trying an offline conversion (using EasyPHP and this excellent tutorial).
However, when converting, two things happen.
I get this error:

All folders are writable, but a closer inspection of the folder structure reveals this:

As you can see the copying of files goes bananas. It copies the entire webroot into images/avatars/gallery, and within that copy, another copy of the entrire webroot, and so on and so on until Windows does not allow the tree structure to be any deeper.
I reckon there is a bug in the conversion script (that came with the 3.0.6 installation package), something to do with the relative path. Of course, I use the correct relative path (../phpbb2). It is pretty frustrating since I don't even use these frickin avatars at all.
Also, it happens
1. Using a copy of my online phpBB2 installation
2. My exported database info a fresh phpBB2 installation.
So nothing should be wrong with my source files.
Can somebody fix this, or provide code so I can fix the converter myself?