[pacman-dev] [PATCH] Check return value of fwrite when copying files