Cosmic strings from pseudo-anomalous U(1)'s