provision/juju: removed filter*.go files

It's used only in the writer.go file, so I'm just putting the function
there...