#258 Add config for saving upload files to memory or to disk temporarily