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.
Merge pull request #45 from uber/dev/image-encoding

Copy file buffers when data is unchanged after interpolation