Format root files for consistency