core: test file writes for home dir perms

Creating directories for some reason was allowed in Windows, but writes
would fail later.