The dynamics of fiscal policy in an open economy