Prevent opening other directories

Make sure you cannot do something ?id=../somefile
Merge pull request #68 from barryvdh/patch-5

Prevent opening other directories