Cleanup nicely when an image or attachment is deleted - remove the file and any empty directories #25