Rename and deprecate filter module to prevent shadowing of built-in keyword

As above, this can probably be removed.