fix incorrect @1
move resource file wrapping functionality to separate module (NOTE: re-running build-toolchain.sh is required)