Resolve resource leak in dt_camctl_import

The handle is only closed iff gp_camera_file_get returns GP_OK. This patch makes sure to close the previously openend handle also if gp_camera_file_get fails.