Replace deprecated File::getPropsFromPath call

Change-Id: I91c860396686ca307a1fab21e5439aa3b8ce1512