Add src dir before writing file