Rewrites plugin file with better indentation