Move the RSA key to the beginning of file in python bindings