Stade Francais remain in the Top 14 play-off picture after a backs-to-the-wall victory over Bordeaux.