Update Asset.php

Fixed deprecated function use in getContent().