Why not fly non-stop?
Cutting out the connection reduces the risk of being stranded in the middle and reduces total air travel time. Yes, using an alternate airport adds back some of the travel time, but usually not as much as cutting out the connection saves.
Nonstop options:
OAK-IAD: Jet Blue
SFO-IAD: United, Virgin America
OAK-BWI: Southwest