Patterning of FePt for magnetic recording