know your libraries ;-)

strrpos fails in cases the file in the path has no dot but the parent folder
Merge pull request #1566 from owncloud/fixing-1505-master

fixes zip download for folders containing a dot .....