deletion of image file on file system on deletion of Image model
fixed image retrieval and writing