Small refactoring to gracefully handle browsers which do not support file details while hovering a dragged file