[ticket/11669] Fix PHP bug #55124 (recursive mkdir on /./)

http://tracker.phpbb.com/browse/PHPBB3-11669