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