After-save-hook for virtual files.

Asks about creating parent directories for a virtual file when it is
saved, if they do not exist.