Stability of BTZ black strings