Save docx as a temp file

Modified the save method in order to create and return a temp file instead of creating a real file in a location where we might not have access and return a url or path. The rails app should be the one deciding what to do with the file.