use absolute path for creating links in formats.sam.merge()