Keep the permission bits of interpolated files

Fixes #2