Fixed an issue with Filehelper and not accessable directories

which resulted in endless loop

http://www.yiiframework.com/forum/index.php/topic/50982-cfilehelper-bug-security-flaw/