handle when a diff has weird encoding schemes
convenience method for commit all dirty files