Resize now works on directories