bug-4479 Missing permission in export dir not detected

Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
Fix coding style

Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
Merge pull request #1259 from D-storm/bug-4479

bug-4479 Missing permission in export dir not detected