The emergence of local wrinkling or global buckling in thin freestanding bilayer films