build: move append-file to image-commands.mk