Make saving easier.

A new function which intercepts a save and will create missing directory
paths to a buffer's file if the path does not yet exist.