Saves the key to a file.
true if the key was successfully stored in the given filepath file, false otherwise
Non-null pointer to a stored key
Non-null string filepath where the key will be saved