adapt shares files extracting for compatibility with DSM 5.x