Add some utility to deal with PEM files.