Replace ant file filtering with homegrown solution

Use this to address #44 and #38