Application of avalanche photodiodes as a readout for scintillator tile-fiber systems