Fixed EZP-20688: Existing file path outside the current vardir throw an exception

Logs an error instead when such a path is encountered. This is just to avoid
a fatal error. These inconsistencies should be fixed using the legacy update
script update/common/scripts/5.1/fiximagesoutsidevardir.php