file:// => file:///
WickedPdfTempfile.new use temp_path argument

You can use pdf_from_string with an option :temp_path. If temp_path available WickedPdfTempfile use this path. 
Resolve merge conflict from Pull #175