zcml builder: fix encoding problem for python 2.6.
package builder: change modules cleanup for python 2.6 compatibility.