Fix test for exception on unwritable directory
Merge remote-tracking branch 'joomla/pr/8'