uber/uber-ngen — pull request #45 by mlmorg (2014-09-10 01:02:18+00:00)
Title: Copy file buffers when data is unchanged after interpolation

This fixes an issue whereby images would become corrupted during the copying process because they would be improperly decoded as utf8.

Maybe it would be better to try to determine the mime type of the file instead of assessing whether any interpolation happened on the file contents...but this seemed like the simplest fix.

cc @Raynos @sh1mmer