Add better checked exception handling into ResourcePackAssembler