Dirac actions for D-branes on backgrounds with fluxes