A suburban New York newspaper has hired armed guards to protect staff following its publication of a list of residents with pistol permits.