The role of accretion in binary star formation