Apple granted patent for an ‘intelligent disk space manager’