try to make tmp file path shorter (for drdr)