(BugID: 100043) Fix PHP fatal error

Make sure file exists for the given page.
Merge pull request #544 from Wikia/bugid-100043-release-155

(BugID: 100043) Fix PHP fatal error