570 diff size limit

this closes #570 for now. diffs are only generated if the files for the diff are not too large.