Deputies: Spartanburg man attacks mom with sword