Proxify fileupload events and add encoding.state.change event