Fix target path generation for Headers content