Allow excluding any StaticFiles

Pretty minor, but previously StaticFiles couldn't be manually excluded via config; this applies the same exclusion to these cases as well.