Fail if upload dir is not writable