Change extension of yaml file