Quantum-well states as fabry-Perot modes in a thin-film electron interferometer