Move socket file to temp directory