Fixed nbd file bug