I have used MeshLab to "fix" bad STLs before.