bugfix--Media.save() should only resize images.