Updating image saving technique on the files module.