Fixed issue #78 (incorrect file path validation)
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fixed issue #78 (incorrect file path validation)