fix for copying binary resource files