Be careful, the programming algorithm is one of the differences between 16F87x and 16F87xA. The newer 16F87xA can be programmed much faster. So your programmer needs to handle these two types differently.
See this migration note from microchip: https://www.microchip.com/download/lit/migrat/39591a.pdf