In a potential relegation battle, Sheffield United beat Oldham 2-0 to move out of the drop-zone.