Add test for passing a java.io.File to wrap-file