screenshot: fallback to $HOME if cwd is not writable