fixed bug where having no attached documents would break premiere_preview
better way of getting the local_path for the file in the convert plugin