made sure path is always a string, can be a arTainted object, not all php functions run __toString() when they expect a string.
added rememberShortcut check to count(), just like the other methods.


git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6170 7882d7ee-46e0-0310-a255-a28a61b628e4