A sewage spill at a pumping station in Devon has prompted warnings to avoid swim spots.