Image resize when storing to fs