add plugin file_mkpath

creates the full path to file when opening