Write class extension for returning file path of compressed image from UIImage