Fix upload and thumb paths