Correctly check whether parent directory is writable for current user.

"&04" was checking if file is readable by others, while "&0200" checks
if it's writable for current user.

Fixes #904.