Fix remote_file_spec.rb

If pre_action is not executed, @temppath is not set and spec fails.
Merge pull request #19 from mizzy/fix-remote_file_spec

Fix remote_file_spec.rb