Update AbstractMedia.php

response to https://github.com/doctrine/phpcr-odm/commit/ea6a6f4203edfa15c1228e90802ecc42a22537e8
Update AbstractMedia.php
Update File.php
Update Directory.php
Merge pull request #105 from lucasgranberg/patch-1

Update AbstractMedia.php