Clean up file upload widget

Signed-off-by: Adam Lord <adam.lord@gmail.com>