Write incoming pic to filesystem