Patterning and trimming of thin film strain sensors