Creates a new FilePart using the Java-friendly Consumer.
Creates a new FilePart using the DSL builder.