Make this work in windows

This would error out if attempted on windows. Expand userdir works on 
many OS's without the HOME environment assumption. 

I've set the default function as disabled in windows -
it currently dies with an error when doing an add due to not having 
the os.symlink capability.

The not in is used for other OS's that don't support this (if appropriate).
Ideally, I'd like to get support for Windows using another method - but 
for now this gets me unstuck