Clean up .rbuild files and make them xml compliant